package com.jumi.microservice.domain;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * - - - - - - - - - - - - - - -
 *
 * @author liuz
 * @date 2020/10/17 14:18
 * ToDoSomeThing
 * - - - - - - - - - - - - - - -
 */
public class WareAndSkuIdsDTO implements Serializable {

    private static final long serialVersionUID = -5817062758782281457L;

    /**
     * 商品skuid集合
     */
    private List<Long> skuIds;

    /**
     * 仓库id集合
     */
    private List<Long> wareIds;

    /**
     * 仓库中sku库存集合
     */
    private List<WareAndGoodsSkuDTO> wareAndGoodsSkus;

    /**
     * sku总库存的集合
     */
    private Map<Long,Integer> stockMap;

    public WareAndSkuIdsDTO() {
    }

    public WareAndSkuIdsDTO(List<Long> skuIds, List<Long> wareIds, List<WareAndGoodsSkuDTO> wareAndGoodsSkus, Map<Long,Integer> stockMap) {
        this.skuIds = skuIds;
        this.wareIds = wareIds;
        this.wareAndGoodsSkus = wareAndGoodsSkus;
        this.stockMap = stockMap;
    }

    public List<Long> getSkuIds() {
        return skuIds;
    }

    public void setSkuIds(List<Long> skuIds) {
        this.skuIds = skuIds;
    }

    public List<Long> getWareIds() {
        return wareIds;
    }

    public void setWareIds(List<Long> wareIds) {
        this.wareIds = wareIds;
    }

    public List<WareAndGoodsSkuDTO> getWareAndGoodsSkus() {
        return wareAndGoodsSkus;
    }

    public void setWareAndGoodsSkus(List<WareAndGoodsSkuDTO> wareAndGoodsSkus) {
        this.wareAndGoodsSkus = wareAndGoodsSkus;
    }

    public Map<Long, Integer> getStockMap() {
        return stockMap;
    }

    public void setStockMap(Map<Long, Integer> stockMap) {
        this.stockMap = stockMap;
    }
}
